gtkscrolledwindow: Do not eagerly claim touch press event
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 25 Sep 2020 15:47:26 +0000 (17:47 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 25 Sep 2020 16:58:44 +0000 (18:58 +0200)
commit7d5accc69f713c6df4255fff803e37ef34d232d0
treef030e39051941a9ef7e91b4e05da955b0886fc83
parentb1606db839c83d40feef7968cb8afde91f9a2f95
gtkscrolledwindow: Do not eagerly claim touch press event

Claiming early makes the contents unable to react to the touch press
event. Do this on GtkGestureDrag::update past a threshold, so the
child widget(s) can claim before the scrolledwindow does.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/3125
gtk/gtkscrolledwindow.c